package cn.bdqn.layui.service.pay;

import cn.bdqn.layui.entity.PaymentRecord;
import cn.bdqn.layui.mapper.PayMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class PayServiceImpl implements PayService {

    @Resource
    PayMapper payMapper;

    @Override
    public List<PaymentRecord> findPayAll(String username, String propertyTypeName, Integer pageNo, Integer pageSize) {
        return payMapper.findPayAll(username, propertyTypeName, pageNo, pageSize);
    }

    @Override
    public int findPayAllCount(String username, String propertyTypeName) {
        return payMapper.findPayAllCount(username,propertyTypeName);
    }
}
